import request from '@/utils/request'

// 获取sku列表
export const fetchSkuList = (pid,params)=> {
    return request({
        url:'/sku/'+pid,
        method:'get',
        params:params
    })
}

// 更新sku
export const updateSku = (pid,data) => {
    return request({
        url:'/sku/update/'+pid,
        method:'post',
        data:data
    })
}
